<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta http-equiv="Pragma"  content="no-cache"  /> 
<title>我的易安</title> 
<%@ include file="/user_comm.jsp"%>
<link rel="stylesheet"	href="http://a.tbcdn.cn/apps/sell/1.0/publish_detail_ke.css?t=20110128editor.css" />
<link href="<%=request.getContextPath()%>/css/prop.css" type="text/css" rel="stylesheet"/>
<!-- script start -->
<script>
		String.prototype.endWith=function(oString){  
			var reg=new RegExp(oString+"$");  
			return  reg.test(this);     
		}
		
		$(document).ready(function() {
			$("form *").autohelp("#autohelp");
			
			var operCode=$d("hdfOperCode").value;
			if(operCode != ""){
				$d("operCode"+operCode).checked=true;
				if(operCode.endWith('9')){
					$d("tr_remark").style.display="block";
				}
			}
		});
		
		function checkSubmit(){
			$('#busiInfo_saveOper').submit();
			return true;
		}
		
		function operChange(showflag){
			if(showflag==true)
				$d("tr_remark").style.display="block";
			else
				$d("tr_remark").style.display="none";
		}
</script>
<!-- script end -->
</head> 
<body> 
<%@ include file="/user_top.jsp"%> 
<div class="realCer"> 
<!--导航--> 
<!--主体部分start--> 
<div class="realMain clearfix mt10"> 
 <%@ include file="/user_menu.jsp"%> 
<div class="realRight ml10 Buyer"> 
	<div class="mybox"> 
		 <div class="mytit">业务单验证</div> 
		   <div class="con Orbuy"> 
		<s:form name="formpage" action="busiInfo_saveOper" namespace="/">
			<%@ include file="/messages.jsp"%>
			<s:hidden name="busiOper.id" value="%{#request.busiOper.id }" />
			<s:hidden id="hdfOperCode" value="%{#request.busiOper.operCode }" />
				<div align="left">
					<s:if test="#request.editOpenflag">
					<table width="830" border="0">
						<tr>
							<td colspan="2">
								<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;中途开封
								</strong>
							</td>
						</tr>
						<tr>
							<td align="right" valign="top" width="124" rowspan="2">
								开封原因：
							</td>
							<td>
								<input type="radio" id="operCode10" name="busiOper.operCode" value="10" onclick="operChange(false);"/>
								海关查验
							</td>
						</tr>
						<tr>
							<td>
								<input type="radio" id="operCode19" name="busiOper.operCode"  value="19" onclick="operChange(true);"/>
								其他
							</td>
						</tr>
						<tr id="tr_remark" style="display: none">
							<td align="right" valign="top">
								备&nbsp;&nbsp;&nbsp;注：
							</td>
							<td>
								<textarea id="operInfo" name="busiOper.operInfo" rows="5" cols="50">${busiOper.operInfo }</textarea>
							</td>
						</tr>
						<tr>
							<td></td>
							<td>
							<input type="button" class="button" id="save" value=" 保 存 " 
								onclick="checkSubmit();"/>
							<input type="button" class="button" id="back" value=" 取 消 "
								onclick="javascript:history.go(-1)" />
							</td>
						</tr>
					</table>
				</s:if>
					<%@ include file="verifyReport.jsp"%>
					<%@ include file="viewBusiness.jsp"%>
				</div>
		</s:form>
    </div> 
		 </div> 
	<div> 
</div>
 <!--主体部分end--> 
</div> 
</div>
<!--底部 start--> 
<%@ include file="/user_button.jsp"%>
<!--底部end--> 
</body> 
</html> 